package com.wang.lottery.domain.rule.model.vo;

import com.wang.lottery.domain.rule.model.po.RuleTreeNodeLine;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wjh
 * @create 2023-11-11 14:53
 * 规则树节点配置
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TreeNodeVO {
    /** 节点id*/
    private Long id;
    /** 规则树id*/
    private Long treeId;
    /** 规则树根节点id*/
    private Long treeRootNodeId;
    /** 节点类型：1-根节点，2-果实*/
    private Integer nodeType;
    /**节点值【nodeType=1时，nodeValue=null，nodeType=2时，nodeValue=果实值】*/
    private String nodeValue;
    /** 规则key*/
    private String ruleKey;
    /** 规则描述*/
    private String ruleDesc;
    /** 节点链路*/
    private List<RuleTreeNodeLine> ruleTreeNodeLineList;
}
